package cn.com.utt.common.message;


public enum MessageType {

	// INFORM : Client to Server. Client report info.
	INFORM("Inform"),

	// GET : Client to Server, or Server to Client. server read client info,or
	// client request config .
	GET("Get"),

	// GETRESP : Client to Server, or Server to Client. Get response.
	GETRESP("GetResp"),

	// SET : Server to Client. Set client params.
	SET("Set"),

	// SETRESP : Client to Server. Set response.
	SETRESP("SetResp"),

	// DOWNLOAD : Server to Client. Let client download fireware ,config file
	// ...
	DOWNLOAD("Download"),

	// DOWNLOADRESP : Client to Server. Download response.
	DOWNLOADRESP("DownloadResp"),

	// REBOOT : Server to Client. Client reboot.
	REBOOT("Reboot"),

	// REBOOTRESP : Client to Server. Reboot response.
	REBOOTRESP("RebootResp"),

	// RESET : Server to Client. Client factory reset.
	RESET("Reset"),

	// RESETRESP : Client to Server. Reset response.
	RESETRESP("ResetResp"),

	// UPLOAD : Server to Client. Let client upload file.
	UPLOAD("Upload"),

	// UPLOADRESP : Client to Server. Upload response.
	UPLOADRESP("UploadResp"),

	// COMMAND : Server to Client. let client exec command.
	COMMAND("Command"),

	// COMMANDRESP : Client to Server. command response.
	COMMANDRESP("CommandResp"),

	// DISCONNECT : Server to Client. let Client disconnect.
	DISCONNECT("Disconnect"),
	
	ADD("Add"),
	
	ADDRESP("AddResp"),
	
	DELETE("Delete"),
	
	DELETERESP("DeleteResp"),
	
	STAINFO("StaInfo"),
	
	GETXML("GetXml"),

	GETXMLRESP("GetXmlResp"),;
	
	private String value;
	private MessageType(String value){
		this.value = value;
	}
	
	
	public String value(){
		return this.value;
	}


	@Override
	public String toString() {
		return this.value;
	}
	
	
}
